package com.hdax.dm.constant;

/*
* 定义所有关于异常状态 ：状态码，消息
* */
public class ErrConstant {

    public static class ErrCodeConstant{
        public static final String ERR_CODE_PHONE_NUMBER = "1001";
        public static final String NOT_EXISTS_CODE_VCODE = "1002";
        public static final String WRONG_CODE_VCODE = "1003";
        public static final String REPEAT_CODE_VCODE = "1004";
        public static final String WRONG_CODE_USER = "1005";
        public static final String TICKET_CODE_INCONSISTENCY = "1006";
        public static final String SEAT_CODE_OCCUPATION = "1007";
        public static final String NO_CODE_CONTACT = "1008";
    }

    public static class ErrMsgConstant{
        public static final String ERR_MSG_PHONE_NUMBER = "手机号码格式不正确";
        public static final String NOT_EXISTS_MSG_VCODE = "请重新获取验证码";
        public static final String WRONG_MSG_VCODE = "验证码输入有误";
        public static final String REPEAT_MSG_VCODE = "60秒之内只能获取一次验证码";
        public static final String WRONG_MSG_USER = "用户名或密码错误";
        public static final String TICKET_MSG_INCONSISTENCY = "人数票数不一致，请从新选择订票人数";
        public static final String SEAT_MSG_OCCUPATION = "座位被占用，请从新选座";
        public static final String NO_MSG_CONTACT = "您的常用购票人中没有该用户，请从新选择购票用户";
    }
}
